package com.person.consumerhystrix.feignclient;

import com.person.common.CommonResult;
import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixFeignClientImpl implements PaymentHystrixFeignClient{
    public CommonResult payment_ok(Integer id) {
        return CommonResult.error("error","服务器宕机了o(╥﹏╥)o...");
    }

    public CommonResult payment_timeout(Integer id) {
        return CommonResult.error("error","payment_timeout宕机了 o(╥﹏╥)o ...");
    }
}
